﻿using EOS.Framework.Contracts.Schema;
using EOS.Framework.Schema.MSSQL;
using System.Data.SqlClient;

namespace EOS.Framework.Schema.TestRunner
{
    class Program
    {
        static void Main(string[] args)
        {
            string connectionString = @"Data Source=realtorsvr2.realtor-software.de;Initial Catalog=eos;Persist Security Info=True;User ID=sa;Password=Ere3z7qp.";

            using (SqlConnection connection = new SqlConnection(connectionString))
            {
                connection.Open();

                MSSQLSchemaProvider provider = new MSSQLSchemaProvider(connection);
                DatabaseSchema schema = provider.ExtractSchema(false);
            }
        }
    }
}
